package com.tqy.docms.service;

import com.tqy.docms.entity.Cpfl;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import java.util.List;

public interface CpflService {
    //增加分类
    int addCpfl(Cpfl cpfl);
    //根据id进行删除
    int delCpfl(String nm);
    //修改分类
    int editCpfl(Cpfl cpfl);
    //查询所有的分类
    List<Cpfl> getallCpfl();
    //多条件查询
    Cpfl  getoneCpfl(Cpfl cpfl);
}
